package love.yuanmengrobot.springmvcdemo2.mapper;


import love.yuanmengrobot.springmvcdemo2.pojo.SysNotice;
import love.yuanmengrobot.springmvcdemo2.vo.NoticeVo;

import java.util.List;

public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysNotice record);

    int insertSelective(SysNotice record);

    SysNotice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysNotice record);

    int updateByPrimaryKey(SysNotice record);
    //查询所有的公告和模糊查询
    List<SysNotice> queryAllNotice(NoticeVo noticeVo);
}